package com.yzc.apis;

import com.yzc.model.entity.log.InventoryLog;
import com.yzc.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "Log-service")
public interface InventoryLogClient {
    @PostMapping("/logs/InventoryLog")
    Result<Boolean> InventoryLog(@RequestBody InventoryLog inventoryLog);
}
